package com.ydgg.ltar.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.ydgg.ltar.model.AreaList;
import com.ydgg.ltar.model.AreaListExample;

@Repository
public interface AreaListMapper {
    int countByExample(AreaListExample example);

    int deleteByExample(AreaListExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AreaList record);

    int insertSelective(AreaList record);

    List<AreaList> selectByExample(AreaListExample example);

    AreaList selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AreaList record, @Param("example") AreaListExample example);

    int updateByExample(@Param("record") AreaList record, @Param("example") AreaListExample example);

    int updateByPrimaryKeySelective(AreaList record);

    int updateByPrimaryKey(AreaList record);
    
    List<Map<String,Object>> selectByPage(Map<String, Object> param);

    List<AreaList> selectByWhere(@Param("where")String where);
}